#ifndef AnalysisMsg_H
#define AnalysisMsg_H

#include <QObject>
#include <list>
#include <string>
#include "DealMessage.h"
#include "structinterface.h"
using namespace std;

class AnalysisMsg : public QObject
{
    Q_OBJECT
public:
    AnalysisMsg();

    void Analysis(list<string> &dataList);

signals:
    void Signal_ShowFirewareVersion(char* version, int len);
    void Signal_ShowReaderTemp(char* temp, int len);
    void Signal_ShowReaderIdentifier(QString str);
    void Signal_ShowOutputPower(int outputPower);
    void Signal_DrmModeGet(unsigned char drmMode);
    void Signal_ShowInventoryData(InventoryCount inventoryData);
    void Signal_ShowReadTagData(TagReadBack tagData);
    void Signal_ShowEpcBuffer(EpcData epcData);
    void Signal_ShowFastInventoryData(int labelTime, int time);
   // void Signal_ShowReadTagData(ReadTagData tagData);
    void Signal_ShowFastEpcBuffer(EpcData epcData);
    void Signal_StopInventory();
    void Signal_ReadWorkAnt(unsigned char workAnt);
    void Signal_GetAntDetector(unsigned char antState);
    void Signal_ReturnLoss(unsigned char returnLoss);
    void Signal_FreqRegion(FreqRegionDefault freq);
    void Signal_FreqRegionCustom(FreqRegionCustom custom, int startFreq);
    void Signal_RfLinkProfile(unsigned char profileID);
    void Signal_GetAccessEpc(unsigned char* epc, int epcLen);
    void Signal_ReadGPIO(unsigned char gpio1, unsigned char gpio2);

private:
    DealMessage m_dealMsg;
};

#endif // AnalysisMsg_H
